/**  
 * @Project: TDawn
 * @Title: TestCase.java
 * @Package dataobject.teststeps
 * @Description: Test Steps Data Object
 * @author yanglei yanglei1@funshion.com
 * @date 2014年12月15日 下午6:34:15
 * @Copyright: 2014 funshion.com. All rights reserved.
 * @version V1.0  
*/
package dataobject.teststeps;

import java.util.ArrayList;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.Root;

import dataobject.DataObject;

/**
 * @ClassName TestCase
 * @Description Test Steps Data Object
 * @author yanglei1 yanglei1@funshion.com
 * @date 2014年12月15日
 */

@Root(name="TestCase")
public class TestCase extends DataObject {
	
	@Attribute
	private String id;
	
	@Attribute
	private String name;
	
	@Attribute
	private String description;
	
	@Element(name="StepAssembly")
	private String StepAssembly;
	
	@ElementList(name="Steps", required=false)
	private ArrayList<Step> steps;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getStepAssembly() {
		return StepAssembly;
	}

	public void setStepAssembly(String stepAssembly) {
		StepAssembly = stepAssembly;
	}

	public ArrayList<Step> getSteps() {
		return steps;
	}

	public void setSteps(ArrayList<Step> steps) {
		this.steps = steps;
	}
}
